<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page session="false"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
<title>Photo Gallery -- Register</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script src="<c:url value="/resources/js/jquery.min.js"/>"></script>
<script src="<c:url value="/resources/js/bootstrap.js"/>"></script>
<link rel="stylesheet" type="text/css"
	href="<c:url value="/resources/css/bootstrap-metro-theme.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/resources/css/default.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/resources/css/component.css"/>">
<script src="<c:url value="/resources/js/modernizr.custom.js"/>"></script>
</head>
<body>
	<div class="" id="loginModal">
		<div class="modal-body">
			<div class="well">
				<ul class="nav nav-tabs">
					<li class="active"><a href="#login" data-toggle="tab">Create
							Account</a></li>
				</ul>

				<div id="myTabContent" class="tab-content">
					<div class="tab-pane active in" id="create">
						<form:form commandName="user-to-register" id="tab">

							<label>User Name</label>
							<form:input path="registrationUserName" type="text" value=""
								class="input-xlarge" />

							<label>Password</label>
							<form:input path="registrationPassword" type="password"
								id="password" name="password" placeholder=""
								class="input-xlarge" />

							<label>Confirm Password</label>
							<form:input path="registrationConfirmedPassword" type="password"
								id="password" name="password" placeholder=""
								class="input-xlarge" />

							<div>
								<a class="btn" href="login"><i
									class="icon-circle-arrow-left"></i>Back</a>
								<button type="submit" class="btn btn-primary">Create
									Account</button>
							</div>
						</form:form>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
